<?php

class Database extends PDO
{
	private $dns = "mysql:host=localhost;dbname=trabalho";
	private $user = "root";
	private $pass = "";
	function __construct()
	{
		parent::__construct($this->dns,$this->user,$this->pass);	
	}	
}